package com.pentofab.payrollmanagement.dao;
import java.util.ArrayList;

import com.pentofab.payrollmanagement.dao.model.UserAccounts;
import com.pentofab.payrollmanagement.exception.BusinessException;
import com.pentofab.payrollmanagement.exception.ExceptionMsg;


public interface UserAccountsDao extends ExceptionMsg{

	
	public void createUserAccount(UserAccounts accounts) throws BusinessException;
	
	public void deleteUserAccount(String username) throws BusinessException;
	
	public void modifyUserAccount(UserAccounts accounts, String oldUserName) throws BusinessException;
	
	public ArrayList<UserAccounts> getUserAccountsByParent(String parentUserName)throws BusinessException;
	
	public UserAccounts getUserAccountsByUserName(String userName)throws BusinessException;
	
}
